function add(x, y) {
    return x + y;
}
var myAdd = function (x, y) { return x + y; };
var myAdds = function (x, y) { return x + y; };
function buildName(firstName) {
    var restOfName = [];
    for (var _i = 1; _i < arguments.length; _i++) {
        restOfName[_i - 1] = arguments[_i];
    }
    return firstName + " " + restOfName.join(" ");
}
var buildNameFun = buildName;
function identity(arg) {
    return arg;
}
var output = identity("myString");
var output1 = identity("myString");
function loggingIdentity(arg) {
    console.log(arg.length);
    return arg;
}
var output2 = loggingIdentity([1, 2, 2, 3, 4]);
var output3 = identity;
console.log(output2);
